package com.qqtech.qquan.circle.service;

import com.qqtech.core.common.exception.BizzException;
import com.qqtech.core.frame.service.BaseService;
import com.qqtech.qquan.circle.model.*;

public interface CircleUpgradeApplyService extends BaseService<CircleUpgradeApply> {
	
	/**
	 * 添加一个圈子升级申请
	 * @param circleUpgradeApply
	 * @return
	 * @throws BizzException 
	 */
	int addApply(CircleUpgradeApply circleUpgradeApply) throws BizzException;
	
	/**
	 * 审核通过-升级成功
	 * @param applyId
	 * @return
	 */
	int auditPass(Integer applyId) throws BizzException;
	
	/**
	 * 审核不通过-升级失败
	 * @param applyId
	 * @return
	 */
	int auditNoPass(Integer applyId,String reason) throws BizzException;
	
}